import { myAjax } from '../utils/request';

/**
 * 获取部门
 * @param param
 */
export const getDepartment = (param) => {
  const url = 'wxapi/common/deptListByDirectCode';
  return myAjax(url, param);
};


export const checkDepartmentComment = (param) => {
  const url = 'wxapi/common/checkCommentTwo';
  return myAjax(url, param);
};

export default {
  getDepartment,
  checkDepartmentComment,
};
